package com.ruoyi.system.service;

import com.ruoyi.system.domain.BulkMessage;
import com.ruoyi.system.domain.CustomerChat;

import java.util.List;

public interface ICustomerChatService {

    public List<CustomerChat> selectChatList(CustomerChat customerChat);

    public CustomerChat selectChatByClientNumber(String clientNumber);

    public CustomerChat selectChatById(String id);

    public int updateCustomerChat(CustomerChat customerChat);

    /**
     * 新增客服信息
     *
     * @param user 客服信息
     * @return 结果
     */
    public int insertUser(CustomerChat user);


    /**
     * 批量删除用户信息
     *
     * @param clientNumber 需要删除的用户ID
     * @return 结果
     */
    public int deleteUserByNumbers(String[] clientNumber);

    /**
     * 群发
     * @param bulkMessage
     * @return
     */
    public int bulkMessage(BulkMessage bulkMessage);


    /**
     * 通过用户ID查询用户
     *
     * @return 用户对象信息
     */
    public String importUser(List<CustomerChat> userList, Boolean isUpdateSupport, String operName);

//    public List<CustomerChat> selectClientCount();
}
